package com.ssii.www.myproject.service;

import com.ssii.www.myproject.domain.Permission;
import com.ssii.www.myproject.domain.Role;
import com.ssii.www.myproject.domain.User;

import java.util.List;

public interface UserService extends BaseService<User,Long> {

  @Override
  void save(User user);

  //启用 禁用
  void change(Long id);

  //重置密码
  void reset(Long id,String password);

  User getUserByName(String name);

  //权限里面有这个方法了
//  List<Permission> getPermissionsById(Long id);

}
